package org.x.usermod.service;


import com.mybatisflex.core.paginate.Page;
import jakarta.validation.Valid;
import org.x.commonmod.config.Result;
import org.x.usermod.dto.SysAclCreateDTO;
import org.x.usermod.dto.SysAclDTO;
import org.x.usermod.dto.SysAclListDTO;
import org.x.usermod.dto.SysAclUpdateDTO;
import org.x.usermod.entity.SysAclEntity;
import com.mybatisflex.core.service.IService;
import org.x.usermod.vo.SysAclListVO;

import java.util.List;

/**
 * 权限表 服务层。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
public interface ISysAclService extends IService<SysAclEntity> {

    Page <SysAclListVO> pagelist(SysAclListDTO sysAclListDTO);

    String update(@Valid SysAclUpdateDTO sysAclUpdateDTO);

    Result removeById(Integer id);

    String create(@Valid SysAclCreateDTO sysAclCreateDTO);

    List<SysAclEntity> list(SysAclDTO sysAclDTO);
}